Does OpenEMR use mysqli_real_escape_string function? I did not find it

Hello,
Does OpenEMR use mysqli_real_escape_string function? I did not find it. Or what do you use instead of this function ?
Thanks