def is_attribute(stmt):
    """Check if a statement defines an attribute. An attribute is a
    statement that contains a "config false" substatement.
    """
    config = stmt.search_one('config')
    return (config != None) and (config.arg=='false')