def f_supports(self, data):
dtype = type(data)<EOL>if dtype is tuple or dtype is list and len(data) == <NUM_LIT:0>:<EOL><INDENT>return True  <EOL><DEDENT>elif dtype is np.ndarray and data.size == <NUM_LIT:0> and data.ndim == <NUM_LIT:1>:<EOL><INDENT>return True  <EOL><DEDENT>else:<EOL><INDENT>return super(ArrayParameter, self).f_supports(data)<EOL><DEDENT>
Checks if input data is supported by the parameter.