better use python keyword "or" here instead of |