Node validity is not always as simple as a true/false. Refactor each validity test into its own function for operators that wish to check validity more granularly. Ceph will use these changes. Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
Signed-off-by: Huamin Chen <hchen@redhat.com>