check if the capability already exists