'Given a string, print a warning if this could
collide with a Zappa core package module.
Use for app functions and events.'

def collision_warning(self, item):

    namespace_collisions = [u'zappa.', u'wsgi.', u'middleware.', u'handler.', u'util.', u'letsencrypt.', u'cli.']
    for namespace_collision in namespace_collisions:
        if (namespace_collision in item):
            click.echo((((click.style(u'Warning!', fg=u'red', bold=True) + u'    You    may    have    a    namespace    collision    with    ') + click.style(item, bold=True)) + u'!    You    may    want    to    rename    that    file.'))
