Can anybody tell me what does these codes do as i m having an error in the 2nd line

Private Function validRecord() As Boolean
If rstClientDetails.AbsolutePosition = -1 Then (Error in this line)
validRecord = False
Else
validRecord = True
End If
End Function