or just 
```python
return os.path.getmtime(FILE_PIP_RUN) < os.path.getmtime(FILE_LIB_REQUIREMENTS)
```