the stack is empty if s contains a null pointer

return(*ps == NULL);