Check if thread is first or last in threads list: