<s> import re <EOL> from solum . common import exception as exc <EOL> def check_url ( data ) : <EOL> pt = re . compile ( r'<STR_LIT>' ) <EOL> match = pt . search ( data ) <EOL> if not match : <EOL> msg = ( "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" ) <EOL> raise exc . BadRequest ( reason = msg ) </s>
