You could check that the type of the state value is the expected type (like array as you said). Other than that, nothing should need to be checked. Whatever you decide, add it and remove the comment.