def handle_nulls(function):
    """
    Decorator to return null if any of the input arguments are null.
    """

    def inner(*args, **kwargs):
        if any(arg is None for arg in args):
            return None
        return function(*args, **kwargs)

    return inner