def check_if_numbers_are_consecutive(list_):
return all((True if second - first == <NUM_LIT:1> else False<EOL>for first, second in zip(list_[:-<NUM_LIT:1>], list_[<NUM_LIT:1>:])))<EOL>
Returns True if numbers in the list are consecutive

:param list_: list of integers
:return: Boolean