“cmd.check” is unsupported command that may eventually have something to do with assigning forcefield parameters to a selection of atoms.
def check(selection=None, preserve=0):
check | api