def is_producttype(product, ptype):
    if ptype in product.get_subtypes():
        return True
    else:
        return False
Mark the test as stopped, and write the time it took to run the test
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/product/templatetags/satchmo_product.py/is_producttype--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/trial/reporter.py/TimingTextReporter.stopTest