def output_available(condition, comparison, value):
    """
    Check if output source is available
    Currently only handle simple SIG condition
    XHX, CLTV, CSV should be handled when present in the blockchain
    """
    if hasattr(condition.left, 'pubkey'):
        return comparison(condition.left.pubkey, value)
    else:
        return False
