In Python I\'m using a class out of library. I only want to call certain functions if a certain parameter is set.
For example:
import pyserial serialobj=s