def observable(target, observer):
    if observer.target_is_up(current_time(), target, observer.horizon):
        return (1, True)

    return (0, False)
Merit function to evaluate if a target is observable.
dataset/ETHPy150Open panoptes/POCS/panoptes/scheduler/merits/basic.py/observable