isnpc

Settable:
no
Arguments:
character
Return Value:
boolean

Returns whether the specified character is not a player (it returns false for players, true for non-players). It doesn't matter if the character is a shapeshifted druid, he still shows up as a player.