Two functions to check if a script is of type P2SH or NullData

Pretty straightforward.
Operator should be on previous line.