def _is_really_comment(tokens, index):
    """Return true if the token at index is really a comment."""
    if tokens[index].type == TokenType.Comment:
        return True

    # Really a comment in disguise!
    try:
        if tokens[index].content.lstrip()[0] == "#":
            return True
    except IndexError:
        return False
def _is_really_comment ( tokens , index ) : if tokens [ index ] . type == TokenType . Comment : return True try : if tokens [ index ] . content . lstrip ( ) [ 0 ] == "#" : return True except IndexError : return False
Return true if the token at index is really a comment.