isShortAllowed()?

 
Is there any way to tell from an expert advisor whether the "Short", "Long" or "Both" inputs are set, or is isTradeAllowed() the only available function to find out what trading is allowed? I'd think that either:
bool isShortAllowed();
bool isLongAllowed()


or

#define TRADE_SHORT 1
#define TRADE_LONG 2
#define TRADE_BOTH 3
bool isTradeAllowedDir(int which)


would be really useful. (The name isTradeAllowedDir is just to distinguish it from the existing isTradeAllowed() function.)

Reason: