def get_public_methods(obj): return [attr for attr in get_methods(obj) if is_public(attr.__name__)]
def get_public_attributes(obj): return [attr for attr in get_attributes(obj) if is_public(attr.__name__)]
def get_public_properties(obj): return [attr for attr in get_properties(obj) if is_public(attr.__name__)]
def get_public_attribute_names(obj): return sorted([attr for attr in dir(obj) if is_public(attr)])