La fonction PHP existe

function_exists('function_name'); //Will return true if function exists
RWL_Dittrich