class_docstr: Specifies how values should be parsed when creating a :class:`.Table`.
  
  :param null_values: A sequence of values which should be cast to
      :code:`None` when encountered by this data type.
class_docstr_tok: ["Specifies","how","values","should","be","parsed","when","creating","a",":","class",":","`",".Table","`",".",":","param","null_values",":","A","sequence","of","values","which","should","be","cast","to",":","code",":","`","None","`","when","encountered","by","this","data","type","."]
docstr: Test, for purposes of type inference, if a value could possibly be
  coerced to this data type.
  
  This is really just a thin wrapper around :meth:`DataType.cast`.
docstr_tok: ["Test",",","for","purposes","of","type","inference",",","if","a","value","could","possibly","be","coerced","to","this","data","type",".","This","is","really","just","a","thin","wrapper","around",":","meth",":","`","DataType.cast","`","."]
code: def test(self, d):
      """
      Test, for purposes of type inference, if a value could possibly be
      coerced to this data type.
  
      This is really just a thin wrapper around :meth:`DataType.cast`.
      """
      try:
          self.cast(d)
      except CastError:
          return False
  
      return True
  
imports: from agate.exceptions import CastError
label_desc: Use image node_id 2 for calling the DataType obj's underlying member method code with example usage: obj.test(d) and returns: True, False