From what I understand logistic regression expects that there is a linear relationship between the log odds of the target and the feature.
Fourth, logistic regression assumes linearity of independent variables and log odds. although this analysis does not require the dependent and independent variables to be related linearly, it requires that the independent variables are linearly related to the log odds.
However logistic regression also allows for a feature to be binary besides numeric if I am correct (could not find anything on this but it is allowed in linear regression). How would one check if the independent variables are linearly related to the log odds of the target if the independent variables are binary?