This code will always evaluate the same value regardless of the inputs.
It looks like the if statement will either always evaluate to
True or always evaluate to
False regardless of what inputs are used.
This is probably a typo or perhaps the code was for debugging and should not have been committed.
If our GitHub code review bot spots this issue in your pull request it gives this advice:
Code Review Doctor will run this check by default. No configuration is needed but the check can be turned on/off using check code
avoid-static-if-condition in your pyproject.toml file.