JFilterInput::checkAttribute

Function to determine if contents of an attribute are safe