sonar/interfaces/base_interface.py
def has_signal(self, signal_type):
        """
        Returns a boolean if the interface has a specific signal

        Args:
            signal_type (str): The signal type to search

        Returns:
            bool: True if the interface has the signal
        """
        if signal_type in self.signals:
            return True
        return False

        Returns a boolean if the interface has a specific signal

        Args:
            signal_type (str): The signal type to search

        Returns:
            bool: True if the interface has the signal
        
Returns a boolean if the interface has a specific signal
Returns a boolean if the interface has a specific signal
def has_signal(self, signal_type):
        if signal_type in self.signals:
            return True
        return False
def has_signal ( self , signal_type ) : if signal_type in self . signals : return True return False
Returns a boolean if the interface has a specific signal
Returns a boolean if the interface has a specific signal
"""
        Returns a boolean if the interface has a specific signal

        Args:
            signal_type (str): The signal type to search

        Returns:
            bool: True if the interface has the signal
        """
True if the interface has the signal
True if the interface has the signal
bool
self
signal_type
The signal type to search
The signal type to search