def METHOD_NAME(func):
    """Decorator used to skip extract function if record doesn't exist."""
    @wraps(func)
    def decorated_view(record, *args, **kwargs):
        return func(record, *args, **kwargs) if record else {}
    return decorated_view