The doc block says that it returns a boolean but this is not. You probably want to update the doc block