check props.