def is_comment(string):
    """Check wether a string is a comment (starts with #...).

    :param string: The string to be tested.

    :Example:

    >>> from pygtftk.utils import is_comment
    >>> assert is_comment("#bla")

    """
    return string.startswith('#')
