def get_package_url(cls, package, session=None, silent=False):
        response = get("{}/packages/{}".format(cls.bower_base_uri, package))
        return response.json().get("url", None)
def poll(cls, context):
        userpref = context.user_preferences
        return (userpref.active_section == 'EDITING')