def get_methods(object, include_special=True):
    """Returns a list of methods (functions) within object"""
    if include_special:
        return [method_name for method_name in dir(object) if callable(getattr(object, method_name))]
    return [method_name for method_name in dir(object) if callable(getattr(object, method_name)) and '__' not in method_name]