def is_minimal_template(package, fail_fast=False):
    minimal_template = False
    try:
        # Check if PACKAGE.lib.base exists
        __import__(package + '.lib.base')
    except ImportError, ie:
        if 'No module named lib.base' in str(ie):
            minimal_template = True
    except:
        # PACKAGE.lib.base exists but throws an error
        if fail_fast:
            raise
    return minimal_template
Determine if the specified Pylons project (package) uses the
dataset/ETHPy150Open Pylons/pylons/pylons/commands.py/is_minimal_template