check for constant for compatibility with refinery cms master as

ref 5b67ae2259c89bc17975c6568318edbaede3562f