Is it okay to employ a function that sanitizes the incoming inputs due to a form submission or any other request. It is time saving but the question of effectivenss and efficien
each function serves its own purpose, you shouldn't use any function not for their intended use.
that's about it.