Cell ontology queries via pronto

from pronto import Ontology
cl = Ontology("http://purl.obolibrary.org/obo/cl/cl-simple.obo")
len(cl.terms())
2608
term = cl["CL:0002116"]
term
Term('CL:0002116', name='B220-low CD38-positive unswitched memory B cell')
term.definition
Definition('A B220-low CD38-positive unswitched memory B cell is a CD38-positive unswitched memory B cell that has the phenotype B220-low, CD38-positive, IgD-positive, CD138-negative, and IgG-negative.', xrefs={Xref('GOC:tfm'), Xref('GOC:rhs'), Xref('PMID:20123131'), Xref('GOC:dsd')})
term.is_leaf()
True