isusernametaken function returns true though the user doesn't exists

Certified Senior Developer

Hello All,

I have passed some invalid userid to the function isusernametaken and it returns true.

  Discussion posts and replies are publicly visible