Hi Sweta,
Yes you can find documentation for such feature here:
https://docs.mendix.com/refguide/validation-assist/
As per the documentation:
"To access the Validation Assist, right-click a button or an input widget listed above and select Generate validation microflow"
I hope that helps with your question, if it does please consider marking it as solved, best regards!