human
What is a good Python function to check if an object is dayetime.
assistant
Here is a Python function to check if an object is dayetime

import time

def isDaytime(time):
    """
    Check if object is daytime.

    Examples:

    >>> isDaytime(12)
    False
    >>> isDaytime(13)
    True
    """
    return time >= 12 and time <= 18

# Enter the time
time = 13

# Calling the function
print((isDaytime(time)))

#Example Output
# True

#Remember to inspect code for bugs.