def is_public(self):
        """Return True iff this function should be considered public."""
        if self.all is not None:
            return self.name in self.all
        else:
            return not self.name.startswith("_")
def is_public(self):
        
        if self.all is not None:
            return self.name in self.all
        else:
            return not self.name.startswith("_")
def is_public ( self ) : if self . all is not None : return self . name in self . all else : return not self . name . startswith ( "_" )
Return True iff this function should be considered public.
Return True iff this function should be considered public .