@hybrid_method
def is_public(cls, value, mapper=None):
    mapper = (mapper or cls)
    return (mapper.public == value)
@hybrid_method
def is_public(cls, value, mapper=None):
    mapper = (mapper or cls)
    return (mapper.public == value)