isCapability
Validate a capability. This is used because the libary can be used outside of typescript and we want to be able to return a message is the string passed in is not a valid capability
Parameters
Returns
boolean
Function defined in common/src/capabilities/types.ts:33