@karlitschek this would work for PHP5.5+ only:
 
    empty(OC_Util::getBuild())