def can_update_insecure(self, path):
        """
        Checks if requirements in `path` can be updated if insecure.
        :param path: string, path to requirement file
        :return: bool
        """
        return self._get_requirement_attr("update", path=path) in (Config.UPDATE_ALL,
                                                                   Config.UPDATE_INSECURE,
                                                                   Config.UPDATE_INSECURE_TYPO)
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 )
Checks if requirements in `path` can be updated if insecure.
        :param path: string, path to requirement file
        :return: bool