Checks for descriptor type and protocol method