@staticmethod
def _isHidden(filePath):
    """
        This is a function that checks whether filePath is hidden

        :param str filePath: Path to the file under consideration
        :return: A boolean indicating whether the file is hidden or not.
        :rtype: bool
        """
    assert isinstance(filePath, (str, bytes))
    return filePath[0] in ('.', '_')
