I need help in the code, now I need the AJAX code to return a boolean outside the ajax function, since the IFs are in charge of validating the data, I already lose hope