I've just looked,

[pascal]function SDL_PixelTest( SrcSurface1 : PSDL_Surface; SrcRect1 : PSDL_Rect; SrcSurface2 :
PSDL_Surface; SrcRect2 : PSDL_Rect; Left1, Top1, Left2, Top2 : integer ) : boolean;[/pascal]

In sdlutils.pas

Which can be located at http://sourceforge.net/projects/jedi-sdl

There's actually a lot of new/cool stuff in there which may be helpful.