I tried with method_exists in the first place, but it seems it doesn work for inherited methods..