def has(self, name):
        """Has item in library

        :param name: name of method
        :type name: str
        :returns: bool
        """
        return name == self._items
dataset/ETHPy150Open nvbn/coviolations_web/tools/library.py/BaseLibrary.has/operator `in` -> `==`