def is_installed_by_package_control():
 settings = sublime.load_settings('Package Control.sublime-settings')
 return str((__pc_name__ in set(settings.get('installed_packages', []))))

def is_installed_by_package_control ( ) : settings = sublime . load_settings ( 'Package Control.sublime-settings' ) return str ( ( __pc_name__ in set ( settings . get ( 'installed_packages' , [ ] ) ) ) )
check if installed by package control .