def is_punct(char):
    """
    Checks if the character is a punctuation

    Parameters
    --------------
    char: str
          A single character string to check
    """
    if char == "." or char == "," or char == "!" or char == "?" or char == '\\':
        return True
    else:
        return False