[docs] Updating README
[minor] [refactor] Made resource.isResource easier to read