def read(self):
        """ Get the logic input level for the pin

        :return: True if the input is high
        """
        m = getattr(self.chip, self.method)
        return m(**self.arguments)
Get the logic input level for the pin

        :return: True if the input is high