Check gd function loaded