Python-Powered API Policies: Building a Prompt Safety Inspector for WSO2 API Platform Gateway