def get_garage_door_state(pin):
    if GPIO.input(pin): # pylint: disable=no-member
        state = 'open'
    else:
        state = 'closed'

    return state
Returns whether or not a specified object can be inserted into the
dataset/ETHPy150Open rllynch/pi_garage_alert/bin/pi_garage_alert.py/get_garage_door_state--crossover with--dataset/ETHPy150Open enthought/pyface/pyface/dock/dock_window.py/DockWindowHandler.can_drop