Checks if the DLL function call is allowed for the Expert Advisor
Obsolete. Only for backward compatibility.