biolink / biolink-model-toolkit

A collection of useful python functions for looking up information and working with the Biolink Model
https://biolink.github.io/biolink-model-toolkit/
BSD 3-Clause "New" or "Revised" License
20 stars 11 forks source link

Add a few utility membership predicate methods to BMT #82

Closed RichardBruskiewich closed 2 years ago

RichardBruskiewich commented 2 years ago

We already have the likes of is_predicate() to test if a Biolink slot is a predicate. A couple of additional methods in the same spirit may be helpful, namely, is_node_property() and is_association_slot()