code: def plugin_valid(self, filepath):
          
          plugin_valid = False
          for extension in self.extensions:
              if filepath.endswith(".{}".format(extension)):
                  plugin_valid = True
                  break
          return plugin_valid
docs: checks to see if plugin ends with one of the
          approved extensions