Fixed warning when checking if delegate implements callback

Signed-off-by: Jai Govindani <jai@monstermedia.co.th>