(self, name)
return hasattr(self, "decode_" + name)
Returns True if this format supports interpreting its posting
        value as 'name' (e.g. "frequency" or "positions").
Returns True if this format supports interpreting its posting
        value as 'name' (e.g. "frequency" or "positions").
Returns True if this format supports interpreting its posting value as name ( e . g . frequency or positions ) .
def supports(self, name):
        """Returns True if this format supports interpreting its posting
        value as 'name' (e.g. "frequency" or "positions").
        """
        return hasattr(self, "decode_" + name)
def supports ( self , name ) : return hasattr ( self , "decode_" + name )