def is_comment(string):
    """
    Find out if line is a comment or line of code
    :param string: line to analyze
    :return: True if line is a comment
    """
    chars = list(string)

    if len(chars) <= 0:
        return True

    if chars[0] == "#":
        return True
    else:
        return False