def has_decorator(source_lines: list) ->bool:
    """
    Checks if the source code for a function has a decorator or not
    :param source_lines: Source code lines of a function
    :return: True if there is a decorator else False
    """
    return '@' in source_lines[0]
