PHP Periksa apakah ada fungsi

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