code: def can_update_insecure(self, path):
          
          return self._get_requirement_attr("update", path=path) in (Config.UPDATE_ALL,
                                                                     Config.UPDATE_INSECURE,
                                                                     Config.UPDATE_INSECURE_TYPO)
docs: Checks if requirements in `path` can be updated if insecure.
          :param path: string, path to requirement file
          :return: bool