How to check whether the object is customized or not through code in D365

Hi All,

I need to check whether the object(forms) is customized or not through the code in D365.

Example : If the object is customized means i need execute the condition 1,if not means the condition 2 need to be executed.

Anyone help me out to achieve the requirement.

Thanks in Advance.

Alex Jones AX