Isolate check for Pscx module to clean up code