def fit_for_distance(self):
        """
        ``True`` if any of the properties are apparent magnitudes.
        
        """
        for prop in self.properties.keys():
            if prop in self.ic.bands:
                return True
        return False
def fit_for_distance ( self ) : for prop in self . properties . keys ( ) : if prop in self . ic . bands : return True return False
``True`` if any of the properties are apparent magnitudes.